package com.logic.landseaserver.persistence.write;

import java.util.List;

import com.logic.landseaserver.domain.CodeReference;
import com.logic.landseaserver.domain.Room;
import com.logic.landseaserver.domain.RoomType;
import com.logic.landseaserver.ws.request.ContractNeedDelReq;

public interface RoomWriteMapper {
    int deleteByPrimaryKey(Room room);

    int insertRoom(Room record);

    int insertSelective(Room record);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKeyWithBLOBs(Room record);

    int updateByPrimaryKey(Room record);

    int updateStatus(Room room);

    int updateAppendStatus(Room room);

    int insertRoomCode(List<CodeReference> param);

/*	void insertPic(RoomPicDTO roomPicDTO);*/

/*	void deletePic(RoomPicDTO roomPicDTO);*/

    void deletePrjStylePic(RoomType roomType);

    void insertPicAndInfo(RoomType roomType);

    Integer deleteRoomType(List<String> idlist);

    void updatePicAndInfo(RoomType roomType);

    void resetNoPayRoom(List<ContractNeedDelReq> list);
}